home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-ARM / HARDWARE.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  515b  |  31 lines

  1. /*
  2.  * linux/include/asm-arm/hardware.h
  3.  *
  4.  * Copyright (C) 1996 Russell King
  5.  *
  6.  * Common hardware definitions
  7.  */
  8.  
  9. #ifndef __ASM_HARDWARE_H
  10. #define __ASM_HARDWARE_H
  11.  
  12. #include <asm/arch/hardware.h>
  13.  
  14. #ifndef FLUSH_BASE
  15. #define FLUSH_BASE    0xdf000000
  16. #endif
  17.  
  18. #ifdef HAS_EXPMASK
  19. #ifndef __ASSEMBLER__
  20. #define __EXPMASK(offset)    (((volatile unsigned char *)EXPMASK_BASE)[offset])
  21. #else
  22. #define __EXPMASK(offset)    offset
  23. #endif
  24.  
  25. #define    EXPMASK_STATUS    __EXPMASK(0x00)
  26. #define EXPMASK_ENABLE    __EXPMASK(0x04)
  27.  
  28. #endif
  29.  
  30. #endif
  31.